package com.example.yucheng.mapper;


import com.example.yucheng.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

//登录接口
@Mapper
public interface LoginMapper {

    @Select("SELECT * FROM user where user_name=#{userName} and password=#{password}")
    public User login(User admin);
}
